﻿using System;
using System.ComponentModel;
using System.Diagnostics;
using System.IO;
using System.Windows;

namespace Movi.MiaAmikoVindozo.WPF
{
    /// <summary>
    /// Interaction logic for MainWindow.xaml
    /// </summary>
    public partial class MainWindow : Window
    {
        public MainWindow()
        {
            InitializeComponent();
        }

        private void Window_Loaded(object sender, RoutedEventArgs e)
        {            
            string curDir = Directory.GetCurrentDirectory();
            curDir = curDir.Replace("\\", "/");
            wb.Source = new Uri(String.Format("file:///{0}/miaamiko/index.html", curDir), UriKind.Absolute);
        }
    }
}
